Prevents newlines in custom annotations from being removed#13
Prevents newlines in custom annotations from being removed#13physikerwelt wants to merge 1 commit intodpvc:masterfrom
Conversation
This is a draft only... see discussion on https://groups.google.com/forum/?hl=en#!searchin/mathjax-users/amber/mathjax-users/3j3AlkBA1CA/vKVfu7hixQwJ
|
Hm. Doesn't 44ee2cf already cover this? |
|
no for the tex annotation mml.isToken evaluates to true |
Are you using v2.4? This changed recently, and I think it was v2.4 where the difference occurred. The annotation node should not have |
|
OK that might be the problem, we use the wmf clone. |
|
I checked and the fix for the incorrect |
|
@dpvc thank you. But I think cherry-picking the changes is a dead end. e.g. unpacked/extensions/toMathML.js does not exist in the wmf clone. I think the way to go is to update to 2.4. Maybe @fred-wang would like to do that? |
|
Why not follow our original advice from the User Group and create a single JavaScript file for on-the-fly patches of MathJax? That way you can cherry pick without touching the copy of MathJax. |
This is a draft only... see discussion on https://groups.google.com/forum/?hl=en#!searchin/mathjax-users/amber/mathjax-users/3j3AlkBA1CA/vKVfu7hixQwJ